from django.contrib import admin
from .models import Seven_star_ticket, TicketConf
# Register your models here.
class TicketConfAdmin(admin.ModelAdmin):
    list_display = ("name","url","params","other","status")
    list_per_page = 20

class Seven_star_ticketAdmin(admin.ModelAdmin):
    list_display = ("name","publish_num","e1","e2","e3","e4","e5","e6","e7","data_class",'publish_date'
                    )
    list_filter = ("name","data_class","publish_num",'publish_date')
admin.site.register(Seven_star_ticket,Seven_star_ticketAdmin)
admin.site.register(TicketConf,TicketConfAdmin)
